<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>vkCmdCopyQueryPoolResults | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>vkCmdCopyQueryPoolResults</vk-name>

    <vk-description>Copy the results of queries in a query pool to a buffer object</vk-description>

    <vk-section-title>Syntax</vk-section-title>
    <vk-syntax>
      <pre><code class="language-js">void vkCmdCopyQueryPoolResults();
</code></pre>
    </vk-syntax>

    <vk-section-title>Parameters</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-parameter>commandBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkCommandBuffer.html">VkCommandBuffer</a></vk-property-type>
        <vk-property-description> is the command buffer into which this command will be recorded.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>queryPool</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkQueryPool.html">VkQueryPool</a></vk-property-type>
        <vk-property-description> is the query pool managing the queries containing the desired results.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>firstQuery</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the initial query index.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>queryCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the number of queries. <b>firstQuery</b> and <b>queryCount</b> together define a range of queries.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>dstBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkBuffer.html">VkBuffer</a></vk-property-type>
        <vk-property-description> is a <b><a href="../handles/VkBuffer.html">VkBuffer</a></b> object that will receive the results of the copy command.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>dstOffset</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>stride</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the stride in bytes between results for individual queries within <b>dstBuffer</b>. The required size of the backing memory for <b>dstBuffer</b> is determined as described above for <b><a href="../calls/vkGetQueryPoolResults.html">vkGetQueryPoolResults</a></b>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>flags</vk-property-parameter>
        <vk-property-type type="number"><a href="../enums/VkQueryResultFlagBits.html">VkQueryResultFlagBits</a></vk-property-type>
        <vk-property-description> is a bitmask of <b>VkQueryResultFlagBits</b> specifying how and when results are returned.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
